package com.oa.pm.entity;


import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 入职信息表(个人资料表)
 * </p>
 *
 * @author syb123
 * @since 2019-01-22
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("pm_entry_information")
@ApiModel(value="入职信息表(个人资料表)")
public class EntryInformation extends Model<EntryInformation> {

        private static final long serialVersionUID = 1L;


        @ApiModelProperty(value="id")
        @TableId(value = "id", type = IdType.UUID)
                private String id;

        @ApiModelProperty(value="用户表id")
        private String userId;

        @ApiModelProperty(value="姓名")
        private String name;

        @ApiModelProperty(value="民族")
        private String nation;

        @ApiModelProperty(value="性别（1-男  2-女）")
        private Integer gender;

        @ApiModelProperty(value="出生日期")
        private Date bornDate;

        @ApiModelProperty(value="婚否")
        private String maritalStatus;

        @ApiModelProperty(value="孕否")
        private String isPregnancy;

        @ApiModelProperty(value="公司")
        private String company;

        @ApiModelProperty(value="深圳社保卡号")
        private String socialSecurityCardNumber;

        @ApiModelProperty(value="深圳公积金卡号")
        private String accumulationFundCardNumber;

        @ApiModelProperty(value="深圳建行卡号")
        private String constructionBankCardNo;

        @ApiModelProperty(value="现住址")
        private String presentAddress;

        @ApiModelProperty(value="手机号")
        private String phone;

        @ApiModelProperty(value="户籍地址")
        private String permanentResidenceAddress;

        @ApiModelProperty(value="电话")
        private String telephone;

        @ApiModelProperty(value="政治面貌")
        private String politicsStatus;

        @ApiModelProperty(value="身份证号码")
        private String idCard;

        @ApiModelProperty(value="紧急联络人")
        private String emergencyContact;

        @ApiModelProperty(value="与本人关系")
        private String selfRelation;

        @ApiModelProperty(value="紧急联络人地址")
        private String address;

        @ApiModelProperty(value="紧急联络人电话")
        private String emergencyContactTelephone;

        @ApiModelProperty(value="英语")
        private String english;

        @ApiModelProperty(value="日语")
        private String japanese;

        @ApiModelProperty(value="其他")
        private String other;

        @ApiModelProperty(value="工龄")
        private Integer seniority;

        @ApiModelProperty(value="工龄年休假(不含春节已5天)")
        private Integer lengthOfServiceAnnualLeave;

        @ApiModelProperty(value="是否删除(1-已删除  2-未删除)")
        private Integer isDeleted;


@Override
protected Serializable pkVal() {
            return this.id;
        }

        }